<div class="innerdiv">

  <h2 class="head">New News</h2>
  <div class="innercontent">
          <%= render 'form' %>
          
          
  
  </div>
  
</div>

<div class="innerdiv">
			<h2 class="head">Related Images</h2>

			
			<div class="innercontent">
				<!-- modal content -->
				
				<div id="related-images">
				  
					  <%= render :template => "images/related_images" %>
					  
					  <!--
					  <% @images.each do |item| %>
					    <li id="image1">
					    <img alt="image" src="<%= url_for({:controller => 'images', :action => 'thumbnail', :id => item.id, :size => "small"}) %>" />
					    <ul>
						    <li>
						    <a class="" href="#news_body" onclick="insertImage('<%= url_for({:controller => 'images', :action => 'thumbnail', :id => item.id, :size => 'medium'}) +  "_s" + item.picture %>');">
						    Insert</a>
						    </li>
    
					    </ul>
					    </li>
					  <% end %>
					  -->
					  
					  
					  <li class="clear display-none"></li>

				</div>
				<br class="clear" />
			</div>

		</div>

<div class="innerdiv clear">

			<div class="innercontent">
			  
                          <a href="#" id="submit" onclick="$('#new_news').submit();" class='button blue big'>Create</a>
                          <a href="<%= url_for({:action => "index"}); %>" class="button gray big">Back to List</a>
                          
			</div>
</div>
